#!/bin/bash

package=$1
# if you have $package then del


domen='notabug.org'

# I using: badbro badbro-test
account='badbro-test'

# recomended: core extra community packages
repo='sis'

# populars: master main
branch=master

wget https://$domen/$account/$repo/raw/$branch/$package  ; result=$?
 # 2>/dev/null

if [[ 0 == $result ]] ; then
  echo "$package was installed" >/dev/stderr
else
  echo "$package don't was installed" >/dev/stderr
fi

exit $result
